onPlayerReady function source The onPlayerReady handler for the YouTube Player. events.onPlayerReady() The onPlayerReady handler for the YouTube Player.